-
Notifications
You must be signed in to change notification settings - Fork 247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(wakuv2): logout / login delay #4336
Conversation
Jenkins BuildsClick to see older builds (4)
|
aba80e8
to
76f55bc
Compare
@@ -168,7 +168,8 @@ func (f *FiltersManager) InitCommunityFilters(communityFiltersToInitialize []Com | |||
// TODO: requests to join / cancels are currently being sent into the default waku topic. | |||
// They must be sent into an specific non protected shard | |||
for _, pubsubTopic := range topics { | |||
identityStr := PublicKeyToStr(&cf.PrivKey.PublicKey) | |||
pk := &cf.PrivKey.PublicKey |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So here, given that we're taking an address of loop variable cf
, this pk
param would always point to the same var, correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah!
Earlier I updated golangci-lint on my machine and when I executed make lint
saw a warning!
Fixes the issue described in status-im/status-mobile#17899 (comment) as well as reusing the IDService from go-waku instead of having status-go create its own, and also an error with a reference to a loop variable